package com.bgds.sys.api.bean.mos.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * /**
 *
 * @Description 容知报警事件
 * @Author lj
 * @create: 2020-08-03 15:19
 */
@Data
@ApiModel("报警事件")
public class AlarmEventDto {


    /**
     * 主键标识
     */
    @ApiModelProperty(value = "主键标识")
    @JSONField(name = "id")
    public String id;

    /**
     * 设备id
     */
    @ApiModelProperty(value = "设备id")
    @JSONField(name = "assetid")
    public String assetId;


    /**
     * 设备编码
     */
    @ApiModelProperty(value = "设备编码")
    @JSONField(name = "assetcode")
    public String assetCode;


    /**
     * 设备健康状态
     */
    @ApiModelProperty(value = "设备健康状态")
    @JSONField(name = "state")
    public Integer state;


    /**
     * 设备健康状态名称
     */
    @ApiModelProperty(value = "设备健康状态名称")
    @JSONField(name = "statename")
    public String stateName;

    /**
     * 报警时间
     */
    @ApiModelProperty(value = "报警时间")
    @JSONField(name = "alarmTime")
    public Date alarmtime;

    /**
     * 报警关闭时间
     */
    @ApiModelProperty(value = "报警关闭时间")
    @JSONField(name = "closetime")
    public Date closeTime;

    /**
     * 报警等级名称
     */
    @ApiModelProperty(value = "报警等级名称")
    @JSONField(name = "alarmevelname")
    public String alarmLevelName;


    /**
     * 报警等级 0=正常 1=1级报警 2=2级报警 3=3级报警 4=4级报警
     */
    @ApiModelProperty(value = "报警等级 0=正常 1=1级报警 2=2级报警 3=3级报警 4=4级报警")
    @JSONField(name = "alarmlevel")
    public int alarmLevel;


    /**
     * 报警持续时间（单位：秒（s））
     */
    @ApiModelProperty(value = "报警持续时间（单位：秒（s））")
    @JSONField(name = "alarmduartion")
    public Float alarmDuartion;

    /**
     * 报警持续时间(转化为字符带单位)
     */
    @ApiModelProperty(value = "报警持续时间(转化为字符带单位)")
    @JSONField(name = "alarmuartionstr")
    public String alarmDuartionStr;


    /**
     * 报警状态编码，“1”-待处理,“2”-处理中，“3”-已关闭
     */
    @ApiModelProperty(value = " 报警状态编码，“1”-待处理,“2”-处理中，“3”-已关闭")
    @JSONField(name = "alarmstaus")
    public String alarmStaus;


    /**
     * 报警状态名称
     */
    @ApiModelProperty(value = "报警状态名称")
    @JSONField(name = "alarmstausname")
    public String alarmStausName;

    /**
     * 是否有反馈
     */
    @JSONField(name = "ishavefeedback")
    @ApiModelProperty(value = "是否有反馈")
    public Boolean isHaveFeedBack;

    /**
     * 新消息数量
     */
    @JSONField(name = "newscount")
    @ApiModelProperty(value = "新消息数量")
    public Integer newsCount;

    /**
     * 诊断时间
     */

    @JSONField(name = "diagnosistime")
    @ApiModelProperty(value = "诊断时间")
    public Date diagnosisTime;

    /**
     * 诊断结论
     */
    @ApiModelProperty(value = "诊断结论")
    @JSONField(name = "conclusion")
    public String conclusion;


    /**
     * 运行建议
     */
    @ApiModelProperty(value = "运行建议")
    @JSONField(name = "suggestion")
    public String suggestion;

    /**
     * 运行建议类型
     */
    @ApiModelProperty(value = "运行建议类型")
    @JSONField(name = "suggestiontype")
    public String suggestionType;

    /**
     * 诊断准确性评价编码
     */
    @ApiModelProperty(value = "诊断准确性评价编码")
    @JSONField(name = "diagnosicaccuracy")
    public String diagnosticAccuracy;


    /**
     * 诊断准确性评价名称
     */
    @ApiModelProperty(value = "诊断准确性评价名称")
    @JSONField(name = "diagnosticaccuracyname")
    public String diagnosticAccuracyName;
}
